export default [
  {
    path: '/dashboard',
    component: () => import('@/views/layout/AppLayout.vue'),
    redirect: '/dashboard/index',
    meta: { 
      title: '仪表盘', 
      icon: 'Histogram',
      affix: true 
    },
    children: [
      {
        path: 'index',
        component: () => import('@/views/dashboard/DashboardView.vue'),
        name: 'Dashboard',
        meta: { 
          title: '主仪表盘',
          icon: 'Histogram',
          affix: true 
        }
      },
      {
        path: 'analysis',
        component: () => import('@/views/dashboard/AnalysisDashboard.vue'),
        name: 'AnalysisDashboard',
        meta: { 
          title: '数据分析看板',
          icon: 'DataLine'
        }
      }
    ]
  }
] 